import request from '@/utils/request'

const service = window.CONFIG.services.wecom + '/page'

export const indexTable = () => {
  return request({
    url: service+'/getCorpBasicData',
    method: 'get'
  })
}

export const indexEchart = () => {
  return request({
    url: service+'/getCorpRealTimeData',
    method: 'get'
  })
}

export const refresh = () => {
  return request({
    url: service+'/refresh',
    method: 'get'
  })
}
